﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Epsilon.Expr
{
    public class ListOpExpr : Expression
    {
        public Expression Left { get; private set; }
        public Expression Right { get; private set; }
        public ListOp Op { get; private set; }
        public Type Type { get; private set; }

        public ListOpExpr(Expression l, Expression r, ListOp op, Type t, int i, int c) :
            base(i, c)
        {
            Left = l;
            Right = r;
            Op = op;
            Type = t;
        }
    }

    public enum ListOp
    {
        Concat,
        Diff
    }
}
